Tables [dbo].[Content_Link]
Properties
PropertyValue
Created10:31:18 AM Tuesday, March 02, 2010
Last Modified11:40:01 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_Content_Link: ContentLinkIDContentLinkIDnumeric(18,0)9
No
1 - 1
Foreign Keys FK_Content_Link_Content: [dbo].[Content].ContentIDIndexes ix_Content_Link: ContentIDContentIDnumeric(18,0)9
Yes
TaggedPageLayoutIDnumeric(18,0)9
Yes
LinkNamevarchar(255)255
Yes
LinkURLvarchar(255)255
Yes
SortOrdernumeric(18,0)9
Yes
Foreign Keys FK_Content_Link_PreviousContentLinkID: [dbo].[Content_Link].PreviousContentLinkIDIndexes ix_ContentLink_PreviousContentLinkID: PreviousContentLinkIDPreviousContentLinkIDnumeric(18,0)9
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_Content_Link: ContentLinkIDPK_Content_LinkContentLinkID
Yes
ix_Content_LinkContentID
ix_ContentLink_PreviousContentLinkIDPreviousContentLinkID
Foreign Keys Foreign Keys
NameColumns
FK_Content_Link_ContentContentID->[dbo].[Content].[ContentID]
FK_Content_Link_PreviousContentLinkIDPreviousContentLinkID->[dbo].[Content_Link].[ContentLinkID]
Permissions
TypeActionOwning Principal
GrantDeleteIMIS
GrantInsertIMIS
GrantReferencesIMIS
GrantSelectIMIS
GrantUpdateIMIS
SQL Script
CREATE TABLE [dbo].[Content_Link]
(
[ContentLinkID] [numeric] (18, 0) NOT NULL IDENTITY(1, 1),
[ContentID] [numeric] (18, 0) NULL,
[TaggedPageLayoutID] [numeric] (18, 0) NULL,
[LinkName] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LinkURL] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SortOrder] [numeric] (18, 0) NULL,
[PreviousContentLinkID] [numeric] (18, 0) NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[Content_Link] ADD CONSTRAINT [PK_Content_Link] PRIMARY KEY CLUSTERED ([ContentLinkID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ix_Content_Link] ON [dbo].[Content_Link] ([ContentID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ix_ContentLink_PreviousContentLinkID] ON [dbo].[Content_Link] ([PreviousContentLinkID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Content_Link] ADD CONSTRAINT [FK_Content_Link_Content] FOREIGN KEY ([ContentID]) REFERENCES [dbo].[Content] ([ContentID])
GO
ALTER TABLE [dbo].[Content_Link] ADD CONSTRAINT [FK_Content_Link_PreviousContentLinkID] FOREIGN KEY ([PreviousContentLinkID]) REFERENCES [dbo].[Content_Link] ([ContentLinkID])
GO
GRANT REFERENCES ON  [dbo].[Content_Link] TO [IMIS]
GRANT SELECT ON  [dbo].[Content_Link] TO [IMIS]
GRANT INSERT ON  [dbo].[Content_Link] TO [IMIS]
GRANT DELETE ON  [dbo].[Content_Link] TO [IMIS]
GRANT UPDATE ON  [dbo].[Content_Link] TO [IMIS]
GO
Uses
Used By